﻿namespace FFF.Test.Entity.FW.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Microsoft.EntityFrameworkCore;
    using Microsoft.EntityFrameworkCore.Metadata.Builders;

    /// <summary>
    /// 用户表展示的Dto
    /// </summary>
    public partial class FWUserDto
    {
        ///// <summary>
        ///// 对应的主表
        ///// </summary>
        //[ForeignKey("CustomerId")]
        //public virtual CY19Entity CY19 { get; set; }

        ///// <summary>
        ///// 对应的从表
        ///// </summary>
        //public virtual ICollection<CY60Entity> CY59s { get; set; }

    }

    /// <summary>
    /// 用户表新增时候的dto
    /// </summary>
    public partial class FWUserCreateInputDto
    {
        /// <summary>
        /// 用户密码
        /// </summary>
        [Display(Name = "用户密码", Description = "用户密码")]
        [Column("UserPassword")]
        [StringLength(128)]
        public string UserPassword { get; set; }

        /// <summary>
        /// 角色GUIDs
        /// </summary>
        public string StandardRoleGUIDs { get; set; }
    }

    /// <summary>
    /// 用户表更新时候dto
    /// </summary>
    public partial class FWUserUpdateInputDto
    {
        /// <summary>
        /// 旧密码
        /// </summary>
        public string OldPassword { get; set; }

        /// <summary>
        /// 角色GUIDs
        /// </summary>
        public string StandardRoleGUIDs { get; set; }

        /// <summary>
        /// 默认公司的GUID
        /// </summary>
        /// <value>The default company unique identifier.</value>
        /// <remarks>ydm</remarks>
        public Guid? DefaultCompanyGUID { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>
        [Display(Name = "用户密码", Description = "用户密码")]
        [Column("UserPassword")]
        [StringLength(128)]
        public string UserPassword { get; set; }

    }
}
